import request from '@/utils/request'

// 查询非法携带盒记录列表
export function listArchiveBoxIllegalRecords(query) {
  return request({
    url: '/archive/ArchiveBoxIllegalRecords/list',
    method: 'get',
    params: query
  })
}

// 查询非法携带盒记录详细
export function getArchiveBoxIllegalRecords(id) {
  return request({
    url: '/archive/ArchiveBoxIllegalRecords/' + id,
    method: 'get'
  })
}

// 新增非法携带盒记录
export function addArchiveBoxIllegalRecords(data) {
  return request({
    url: '/archive/ArchiveBoxIllegalRecords',
    method: 'post',
    data: data
  })
}

// 修改非法携带盒记录
export function updateArchiveBoxIllegalRecords(data) {
  return request({
    url: '/archive/ArchiveBoxIllegalRecords',
    method: 'put',
    data: data
  })
}

// 删除非法携带盒记录
export function delArchiveBoxIllegalRecords(id) {
  return request({
    url: '/archive/ArchiveBoxIllegalRecords/' + id,
    method: 'delete'
  })
}
export function getFFBoxInoutRecordList(recordId) {
  return request({
    url: '/archive/ArchiveBoxIllegalDetailRecords/selectArchiveBoxillegalByRecordId/' + recordId,
    method: 'get'
  })
}
